package com.api.oa.model.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class YQPatientVO {

    private String patientPhone;//varchar(255) NOT NULL COMMENT ' 手机号：（作为登陆账号，不可重复）',
    private String patientIdCard;//varchar(18) DEFAULT NULL COMMENT '身份证：（主键）',
    private String patientName;//varchar(255) DEFAULT NULL COMMENT '姓名',
    private Integer patientSex;//int DEFAULT NULL COMMENT '性别 0 女 1男',
    private String patientFace;//varchar(255) DEFAULT NULL COMMENT '照片：（用于人脸识别）',
    private Integer IdCardType;//varchar(255) DEFAULT NULL COMMENT '人员身份：[ 0''在职'',1''退休'',''2居民一档'',''3居民二档'',''4少年儿童'',''5大学生'']',
    private String patientAddress;//varchar(255) DEFAULT NULL COMMENT '地址',
    private Double lat;//double DEFAULT NULL COMMENT ' 经纬度：[''经度'',''纬度'']',
    private Double lng;//double DEFAULT NULL COMMENT ' 经纬度：[''经度'',''纬度'']',
    private String patientIns;//varchar(255) DEFAULT NULL COMMENT '签约机构(编码)',
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date patientAddBed;//datetime DEFAULT NULL COMMENT '建床时间',
    private Integer patientType;//varchar(255) NOT NULL COMMENT '类型[0失能,1失智,2普通'']',
    private Integer patientLevel;//varchar(255) DEFAULT NULL COMMENT '等级',
    private Integer attendType;//varchar(255) DEFAULT NULL COMMENT '护理类型：[0家护,1院护,2日护'']',
    private Integer disabled;//int DEFAULT NULL COMMENT '禁用' 0启用 1禁用,
    private String conditionDesc;//text COMMENT ' 病情描述：',
    private Long userId;//用户ID
    private String insName;//机构名称

    @Override
    public String toString() {
        return "YQPatient{" +
                "patientPhone='" + patientPhone + '\'' +
                ", patientIdCard='" + patientIdCard + '\'' +
                ", patientName='" + patientName + '\'' +
                ", patientSex='" + patientSex + '\'' +
                ", patientFace='" + patientFace + '\'' +
                ", IdCardType='" + IdCardType + '\'' +
                ", patientAddress='" + patientAddress + '\'' +
                ", lat='" + lat + '\'' +
                ", lng='" + lng + '\'' +
                ", patientIns='" + patientIns + '\'' +
                ", patientAddBed='" + patientAddBed + '\'' +
                ", patientType='" + patientType + '\'' +
                ", patientLevel='" + patientLevel + '\'' +
                ", attendType='" + attendType + '\'' +
                ", disabled='" + disabled + '\'' +
                ", conditionDesc='" + conditionDesc + '\'' +
                '}';
    }
}
